
env = Environment()
env[ 'CCFLAGS' ] = '-g -O2 -fPIC -D_THREAD_SAFE -pthread -Wall -Wno-sign-compare'
env[ 'CPPPATH' ] = ['../include','../../include','../../../include','/home/s/include', ]
env[ 'CPPFLAGS' ] = []
env[ 'LIBPATH' ] = ['../lib','../../lib','../../../lib','/home/s/lib/static', ]
env[ 'LIBS' ] = ['fekcab_packet','fekcab_store','protobuf','tokyocabinet','boost_program_options-mt','boost_filesystem-mt', 'boost_system-mt', 'boost_thread-mt','z','pthread',]


libfile = env.StaticLibrary( 'fekcab_store', ['binindex.cpp',] )
libfilename = str(libfile[0])

libdir = '../lib'
env.Command( '%s/%s' % (libdir, libfilename), libfilename, Copy("$TARGET","$SOURCE") )


